
import axios from '@/libs/api.request'
/* 全部列表 */
export const findAllList = (data) => {
  return axios.request({
    url: '/api/uc/ctc/ctcSubsidyService/findAllList',
    data: data,
    type: 'post'
  })
}
/* 点击领取跳转详情 */
export const findOrderIdList = (data) => {
  return axios.request({
    url: '/api/us/ctc/ctcsubsidy/findOrderDetaliTimeList',
    data: data,
    type: 'post'
  })
}
/* 一键领取 */
export const createOrder = (data) => {
  return axios.request({
    url: '/api/uc/ctc/ctcSubsidyService/createOrder',
    data: data,
    type: 'post'
  })
}
/* 优惠券是否使用 */
export const findDetaliExp = (data) => {
  return axios.request({
    url: '/api/uc/ctc/ctcSubsidyService/findDetaliExp',
    data: data,
    type: 'post'
  })
}
/* 优惠券使用明细 */
export const findUserdSubsidy = (data) => {
  return axios.request({
    url: '/api/us/ctc/ctcsubsidy/findUserdSubsidy',
    data: data,
    type: 'post'
  })
}
// 补贴总额显示   补贴余额
export const findAllMoneyAndMurplus = (data) => {
  return axios.request({
    url: '/api/uc/ctc/ctcSubsidyService/findAllMoneyAndMurplus',
    data: data,
    type: 'get'
  })
}
// 补贴券包显示
export const findOrderDetaliList = (data) => {
  return axios.request({
    url: '/api/us/ctc/ctcsubsidy/findOrderDetaliList',
    data: data,
    type: 'post'
  })
}
// 使用流水

export const findSubsidyMoneyUserdList = (data) => {
  return axios.request({
    url: '/api/us/ctc/ctcsubsidy/findSubsidyMoneyUserdList',
    data: data,
    type: 'post'
  })
}

export const findAllResidueMoney = (data) => {
  return axios.request({
    url: '/api/uc/ctc/ctcSubsidyService/findAllResidueMoney',
    data: data,
    type: 'post'
  })
}
// 首页跳转补贴详情
export const findInfomation = (data) => {
  return axios.request({
    url: '/api/us/ctc/ctcsubsidy/findInfomation',
    data: data,
    type: 'post'
  })
}
// 首页补贴接口列表（无需登录)
export const findAllSubsibyNoLoginList = (data) => {
  return axios.request({
    url: '/api/uc/ctc/ctcSubsidyService/findAllSubsibyNoLoginList',
    data: data,
    type: 'post'
  })
}
// 补贴门店信息
export const storeInfoList = (data) => {
  return axios.request({
    url: '/api/us/ctc/ctcsubsidystore/storeInfoList',
    data: data,
    type: 'post'
  })
}

// 优惠卷未使用
export const findOrderDetaliUnusedList = (data) => {
  return axios.request({
    url: '/api/us/ctc/ctcsubsidy/findOrderDetaliUnusedList',
    data: data,
    type: 'post'
  })
}
// 优惠卷已使用
export const findOrderDetaliUsedList = (data) => {
  return axios.request({
    url: '/api/us/ctc/ctcsubsidy/findOrderDetaliUsedList',
    data: data,
    type: 'post'
  })
}
// 优惠卷已过期
export const findOrderDetalirecycleList = (data) => {
  return axios.request({
    url: '/api/us/ctc/ctcsubsidy/findOrderDetalirecycleList',
    data: data,
    type: 'post'
  })
}
//
// 查询补贴总数，补贴使用，补贴回收，补贴剩余
export const findAllMoneydetail = (data) => {
  return axios.request({
    url: '/api/uc/ctc/ctcSubsidyService/findMap',
    data: data,
    type: 'get'
  })
}
